import axios from '../index';

// 活动列表
export const getActivityDataApi = ({
  currentPage = 1,
  pageSize = 5,
}) => axios({
  url: '/sys/activity/list',
  method: 'GET',
  params: {
    currentPage,
    pageSize,
  }
});

// 审核活动
export const checkActivityApi = (data) => axios({
  url: '/sys/activity/check',
  method: 'POST',
  data
})
